#include "communication-message.h"

CommunicationMessage::CommunicationMessage(const vector<uint8_t> &packet,
                                           NetCommunication *netObj) : packet(packet), netObj(netObj)
{
}

vector<uint8_t> CommunicationMessage::getPacket(void) const
{
    return packet;
}

NetCommunication *CommunicationMessage::getNetCommunicationObject(void) const
{
    return netObj;
}
